class school:
    school_name = ""  # 学校名称
    province_name = ""  # 省份
    city_name = ""  # 城市
    county_name = ""  # 县区
    is_211 = 0  # 是否是211
    is_985 = 0  # 是否是985
    belong = ""  # 隶属
    type_name = ""  # 类型
    level_name = ""  # 等级
    nature_name = ""  # 性质
    dual_class = ""  # 是否是双一流
    dual_a_up = 0  # 一级学科A+数量
    dual_a = 0  # 一级学科A数量
    dual_a_down = 0  # 一级学科A-数量
    dual_b_up = 0  # 一级学科B+数量
    dual_b = 0  # 一级学科B数量
    dual_b_down = 0  # 一级学科B-数量
    dual_c_up = 0  # 一级学科C+数量
    dual_c = 0  # 一级学科C数量
    dual_c_down = 0  # 一级学科C-数量
    dual_list = []  # 一流学科列表
    important_subject_num = 0  # 重点学科数量
    master_num = 0  # 硕士点数量
    doctor_num = 0  # 博士点数量
    academician_num = 0  # 院士数量
    stu_num = ""  # 学生数量
    lab_num = ""  # 实验室数量
    create_time = ""  # 建校时间
    web_list = []  # 网址列表
    tel_list = []  # 电话列表
    rank = {}  # 排名
    satisfy = {}  # 满意度
    job_rate = ""  # 就业率
    post_rate = ""  # 升学率
    abroad_rate = ""  # 出国率
    man_rate = ""  # 男生比例
    job_place = {}  # 就业地区
    job_industry = {}  # 就业行业

    def __init__(self, school_name=""):
        self.school_name = school_name

    def to_dict(self):
        return {
            "school_name": self.school_name,
            "province_name": self.province_name,
            "city_name": self.city_name,
            "county_name": self.county_name,
            "is_211": self.is_211,
            "is_985": self.is_985,
            "belong": self.belong,
            "type_name": self.type_name,
            "level_name": self.level_name,
            "nature_name": self.nature_name,
            "dual_class": self.dual_class,
            "dual_a_up": self.dual_a_up,
            "dual_a": self.dual_a,
            "dual_a_down": self.dual_a_down,
            "dual_b_up": self.dual_b_up,
            "dual_b": self.dual_b,
            "dual_b_down": self.dual_b_down,
            "dual_c_up": self.dual_c_up,
            "dual_c": self.dual_c,
            "dual_c_down": self.dual_c_down,
            "dual_list": self.dual_list,
            "important_subject_num": self.important_subject_num,
            "master_num": self.master_num,
            "doctor_num": self.doctor_num,
            "academician_num": self.academician_num,
            "stu_num": self.stu_num,
            "lab_num": self.lab_num,
            "create_time": self.create_time,
            "web_list": self.web_list,
            "tel_list": self.tel_list,
            "rank": self.rank,
            "satisfy": self.satisfy,
            "job_rate": self.job_rate,
            "post_rate": self.post_rate,
            "abroad_rate": self.abroad_rate,
            "man_rate": self.man_rate,
            "job_place": self.job_place,
            "job_industry": self.job_industry

        }